﻿using Simple.Tools;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp.CheckTest
/// <summary>
/// 版 本 钢易智企2.0 V 2.0.0 钢易智企2.0
/// Copyright (c) 2023 杭州钢易科技有限公司
/// 创建人：曾东明
/// 日 期：2024
/// 描 述：
/// </summary>
{
	public static class SimpleCheckExtension
	{
		static SimpleCheckExtension()
		{

		}
		/// <summary>
		/// 
		/// </summary>
		public static void TestCheckGetDefault()
		{
            Console.WriteLine(SimpleCheck.GetLocalHostFirstOrDefault());
        }
		/// <summary>
		/// 
		/// </summary>
		public static void TestCheckGetIps()
		{
			var ips=SimpleCheck.GetLocalHosts();
			foreach(var ip in ips)
			{
                Console.WriteLine(ip);
            }

		}

		public static void TestCheckIsDebug()
		{
            Console.WriteLine(SimpleCheck.IsDebug());
        }
	}
}
